<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" >
        <title>ts学习</title>
    </head>
    <body>
        <div>
            <textarea id="text" cols="30" rows="10"></textarea>
            <button onclick="ti()">提交</button>
        </div>
        <script>
            let name = `Gene`;
            let age = 37;
            let sentence = `Hello, my name is ${ name }.I'll be ${ age + 1 } years old next month.`;
            let sentences =  "Hello, my name is " + name + ".\n\n" +
    "I'll be " + (age + 1) + " years old next month."
            console.log(sentence);
            console.log(sentences);
        </script>
        <!-- <script src='greeter.js'></script> -->
    </body>
</html>